package com.lmc.base.demo.gateway.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lmc
 * @Description: TODO
 * @Create 2024-07-25 22:08
 * @version: 1.0
 */
@RestController
public class TestController {

    @Value("${info.name:default}")
    private String info;

    @RequestMapping("/test")
    public String test() {
        return info;
    }

}
